
#ifndef MYPLANE_H
#define MYPLANE_H
#include<QPixmap>
#include<QRect>
#include"config.h"
#include "bullet.h"
class myplane
{
public:
    myplane();

    void shoot();
    void shoota();
    void shootb();

    void setPosition(int x,int y);

public:
    QPixmap m_plane;
    int m_x;
    int m_y;
    int mhp=150;
    QRect m_rect;//我机边框


    //danjia
    bullet m_bullets[BULLET_NUM];

    //jian ge
    int m_recorder;
    int m_recordera;
    int m_recorderb;


};

#endif // MYPLANE_H
